package com.rc.saas.mini.model.market;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description
 * @Author
 * @Date: 2022-07-20
 */

@ApiModel(value = " market_activity_member ", description = " 营销活动和用户关联表 ")
public class MarketActivityMember extends BaseModel {

    @ApiModelProperty(value = "ID")
    private Long activityMemberId;

    @ApiModelProperty(value = "运营商")
    private String tenantCode;

    @ApiModelProperty(value = "会员ID 关联member_info表")
    private Long memberId;

    @ApiModelProperty(value = "营销活动ID 关联market_activity表")
    private Long marketActivityId;

    @ApiModelProperty(value = "优惠券ID 关联tenant_ticket_type表")
    private Long ticketTypeId;

    @ApiModelProperty(value = "支付订单id")
    private Long rechargeOrderId;

    @ApiModelProperty(value = "获取次数")
    private Integer gainCount;

    @ApiModelProperty(value = "null")
    private String createdBy;

    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;

    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;

    @ApiModelProperty(value = "活动类型 0 新用户注册优惠 1 充值送活动默认 2领取活动 3满减 4满返 5拉新  默认1充值")
    private String activityType;

    public Long getActivityMemberId() {
        return activityMemberId;
    }

    public void setActivityMemberId(Long activityMemberId) {
        this.activityMemberId = activityMemberId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMarketActivityId() {
        return marketActivityId;
    }

    public void setMarketActivityId(Long marketActivityId) {
        this.marketActivityId = marketActivityId;
    }

    public Long getTicketTypeId() {
        return ticketTypeId;
    }

    public void setTicketTypeId(Long ticketTypeId) {
        this.ticketTypeId = ticketTypeId;
    }

    public Long getRechargeOrderId() {
        return rechargeOrderId;
    }

    public void setRechargeOrderId(Long rechargeOrderId) {
        this.rechargeOrderId = rechargeOrderId;
    }

    public Integer getGainCount() {
        return gainCount;
    }

    public void setGainCount(Integer gainCount) {
        this.gainCount = gainCount;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }

}
